See pictures for details. Untested.