Finalized Task5, Added Task 6