adding lindex support