make gam and nelec private
docstrings