added a method to adapter interface