hw2 for OS