Removed sum as not working on heroku