Final working BGQ code added