passed all test cases on Interfaces