The overall direction should be a parameter.