updated buttons, background, and algo