set up renderer