Proper setup for variables and procedures. Actions var available to procedures.