added baby render function