Class and define work