renamed find_type

made a little more sensible name