cleaned up and finished docs