working class method generation