WORKING -made compile fixes + large fix is that we were deleting the current rel_t and the iterating on it when the 4 final conditions were met