working on invalidate() for view