adds fully functional class that passes rspec