finish programming sp index page