my version of CodeCamper tutorial code