work on buttons, convert board card to use card directive