added parameter object to pre/post render calls