rendering order working