cleaning up main
using drawing to check visbility graph eek