fixed trait key access, fixed field storage function to match interface