Repair reset functionaly. Added more examples.