working on class prop