Added necessary variables