added task struct