index basic framework