load all id in one function