ensure member variables are initialised before first use - resolves #93