might as well use uint since we're referring to indices