fixes and redone docs