Set up variables.