refactored sharedarea read