created while learning ROR tutorials