working adding and removing rows