added def and pos buttons.