Updating for GCM code. Adding Send capability