made accessors accessible before first function call