reverse lookup working correctly