thanks! 
being new to fish I was thinking of adopting the practice to declare ahead the scope of variables and set them up without a declaration of visibility ... but I have not read enough sources to figure out what is the best practice.