Used global resources ids, optimizing