adding let function for rspec