adding status and deadline when creating a new task