added draw and erase