Fixed delimeter bug, added index utility functions.