index Record with slice
move utils to internal_utils