added task status and type