small changes, added doc