add compose api