Making readonly property for numAttempts