auto mode works