fixed examples, refactored buttons