finished searchOR. some bug fixing, may still be more