Finished the CLAWS search function.