Setting up variables