don't use method as function