simple detect functional index