In the functions declarations above, please put the parenthesis adjacent to the function name:
`dsMax()`, not `dsMax ()`.