page render function added