add columns to aid queries