added some decomp for the database