trying to figure out the attribute lookup thing