added priority levels to operations