state checker begins :)