small * placement error
renamed numFlag to num_flag to fit convention