iterate through methods