search functional added