Adding a before and after method