was using assignment instead of comparison

This can't be right, guys.