finished basic work, need to deal with GCS and unicode problem