moved whereIs to a separate util module