moved show & hide functions
improved find function