color option, display input data, switch function