work from following Thoughtbot tutorial blog.