Assignment2 work