Remove space after ```function```, add space before curly bracket.