probably want to use constants for the indexes.