finalizing bg