added reset grid
added clearObjects