Fixed typo

Didn't put [] around function arguments in fn