FINALLY GOT PAST THE 0502 ERROR