added type find fn