changed function 'search' to 'searchPoll' and started the skeleton for testing in testing.php