added renderCollection