Added in specific function for creating tasks