don't use "const" with scalar types