search fully implemented