rewriting lab1 code