Changed index from default to custom