add method get_infos()