changed question file to extend basemodel