added doc, updated usage