minor changes to gsm sample