Wrote some task creation code