adding locker.rb