compose tasks method added