gdata copy from google code