my code (update01) for assignment2