now inheriting from RenderStateNode