modify some structure.
add continuous mode.