gerrit function keeps getting fancier