lookup method in class