finished workshop-1 code