completed split and search