lookup by correct attribute