change variables names which some of them are violating good R coding practice, i.e. t and c used
change variables names which some of them are violating good R coding practice, i.e. t and c used