first working path drawing system. still needs fix of crossing paths