stupid me forgot to require data on index