change twi to 5, fix timing