Removed ugly global