coding utility procs for extracting data from simple tables