Attempted to fix issues on Heroku by removing the method and leaving everything inside the methods.