fix simple variable access
use better name, add documentation
add/better documentation