Added define global issue #15