methods for adding and removing rows from tables