Fixed indentation and removed const qualifier from boolean parameters