now with classes!