Changed task model to assignment