fix style for function declaration