modified before actions