checking correct syntax for calling lookoptions