correctly assign attempts