Use state with object - NR IT INSTITUTE