initial commit from sundy'sgooglecode