Do not allow event if the state has not been loaded
Add comments
Clean up