tag_by_type example deleted, rand does not work on heroku