created adapter with delegation and passed the tests