cleaning up nest.rb