some dox
removed unused var