ugly search(prototype)