removed before and after methods so it can be used by strict apps