modity postion algorithm and initial search interface