added invalidate