initial version of the ios sample code