adding the basic table functionality without saving record