Now with globals

Signed-off-by: Grosswood <mozge4ok@gmail.com>