implemented removing rows