door example with hinge