Preparing variables.