lesson1 dev, reformat code