check the state initially
Merge pull request #10 from sdepold/features/initial-rendering

check the state initially