add from/to parameters when t=c
Merge pull request #13 from Akiyah/add_from_to_parameters_when_t_is_c

add from/to parameters when t=c