controlled lagrangians