add renderer and renderCommand