deleted code comments and added a searchfield