slightly refactored state ctor. refs #13