added local modes