use typeof with parenthesis for consistency