adds while STDIN, do
update madrid.c