minor changes, added library