Done variables in procedures and functions