changed style to index, make responsibe