In ancient Greece the statues had an apotropaic function, and were placed at crossings and borders as protection. Hermes was a phallic god, associated with fertility, luck, roads and borders. His name comes from the word "herma". In Athens, they were placed outside houses for good luck and protection. They would be adorned with garlands or wreaths and anointed with olive oil to obtain luck.