Extract method if answer is correct

Signed-off-by: Igor Popov <igor.popov@napa.fi>