new flag for relocating
make variables static