before automation