added renderPartial