Fixed search (only variables may be passed by reference)