extract bg