apply implement Google API functions