remove unused variable
documentation tweaks