trying to get table inserts working