fixed examples, changed default method