adding missing type params for get_all_existing_units function