getting illegal optocodes. Somethign is still wrong...