refractor, door lock example, tests...