updated task4 in OS