Compiling tasks together