made search() static