updated code in gdata_3