adding related_keys.rb