add to_i
fixed design