complete add question function