trying to accommodate postgres