allow passing of question-class objects to createhit
fix return value handling in createhit