drawing edges and colors