added tim1rr and tim2mr