refactoring base_id + select_cont