head variable added