Finshed search.php function, but it's not decorated