initial implementation of task saving