implemented add_interface method