it's not adding to the correct index!!!! ugh