adding method to interface