completed index and added styles