renamed composeTrial to compose