you don't need to check if compose is null