finished 03 code