working canvas state