Mind removing the assignment and just having your function in the file?