set up code to draw dots - getting errors