adding compsor stuff and protype code in index