addes some more functions and variables