don't set with empty residues array