Minor change in code, show ending process