stole some things from BG