updated state header and class file