remove discretizeParam for now to todo-files
add logical arg to isDiscrete