Actually avoids inconsistent assignments... still an issue with the solution.