added corner case to compose