updated buttons, background, and algo
p