bugfix: moved head -> _head (reverted accidental change from earlier)