design n implement table