attempt to fix rand method not returning integer issue in heroku