Samplle code for Dicovery Communications