attempting to convert to postgres