added search function toapptypes and sizes