added actionlistener and a board