put puppet in a class