Updated task to new syntax