modified index and added dependencies