Added headPosition method