[index] implment several functions