Removed static because need access to _program and _priority