[SOLVED (KIND OF)] Missing something obvious trying to do a lookup in a method