added task with necessary parameters