changed attribute name to button definition