button mapping working