Is it worth calling optelem again here?  I'm not sure what convention these routines follow...