allow different method name in class