added services api in example