A uniform task framework