Load all id in one function