added working rectangle drawer