example code made during lesson