Remove function impairs the logic.
Remove function impairs the logic.