updated to working copy, still need to add examples and docs