changes to get_ti