renamed head to avoid clash