added RePaint and RePaintItem to the interface and implemented for the classes