code cleanup, documentation