YOU MUST DEFINE GLOBAL VARIBLE OTHERWISE IT WILL NOT FUCKING WORK