using dictionary attributes to provide key without gui