Implement Task4