added uniqueness test and added rats