stricter type checking of input parameters
release v0.1.8