Revised task to list implementation