get off global variables