update

updated variable and answer comparison