changed index and modified layout;