fixed and commented function parameter read access