Use compose method instead of composer