recaftoring default google example code to be more relevant to our app