Use function parameter instead of member variable