added compose example.