add clear state and image
updates from sanmiks project