Creating foo function.