cleaned up with rails_best_practices