add feature detection for boolean return type and constructors
add additional training data