additional mods to cal file for merging.