implemented globals