added routine for draw centers