added answer question functionality