Turned it into a function expression

because reasons