Fixed incorrect function declaration syntax