init from google code