implemented checking answer feature