added base of rendering class