Used global resource ids, optimizing