compose tasks method fixed