added beta code to main index