more of db conversions