changed redirect to indirect