Implemented first versions of before? and after?