first version of intersection drawing works