the code i took from vbapi.com had the error in it to begin with