Added reverse lookup functionality