updated for best practices using the Gemfile