Added support for LOCATE operation

Then it should probably throw an exception and fail.