state,setState,eventhandler - NR IT INSTITUTE