cast to int before assignment