organized the button code locations