draws lines and rectangles now