refactored to reflect nesting
working door hingeing