Refrakted code, aded not answered counter