I think i should only be used for ints :) I think a var 'f' would be better.