forgot ; and wrote functin instead of function

it's late, let's call it a day ;)