add patment table