Globals and Print modified with basic changes