Sample program on Ubiq platform