new methods for before and after.