functionality done, started on actionlistener