working on examples and tests