cleaned up version with working rspec configuration