Well I agree that doing it when the input is done, is not a good idea.