Assignment instead of comparison