added decide variable.