event handler added. initial work on commandhalder behavior