passed all test cases on Delegates Related