Added gcm support