messed around with rspec but abondoning