table generation and row editing implemented