access resolving to a separate function
document access, minor refactroing