Multiple assignments done wrong?