currently it is working fine. but it will be much better if we use "stores" for every state management logic.