program now detects if there is stuff empty, saving work for tomorrow