Zhang Jing: create constants for running modes