put the class code in a role instead