add gprs state machine