e.g. before after hook