bugfix params should be next to function keyword