now using check complete function and stops