putting margin back into index