Implemented stabilizing controller