Added code to remove filled rows