Second attempt
second attempt to fix index