Before after window

Issue #21