added task and alert models