Created PowerMate class