Refactoring to split the crosshair into two functions