added priority rendering