Added firsti and firstfi