Implemented Task priority