differentiates the two google functions