Added support for LOCATE operation

Remove these top three lines - they don't apply in this case.