makes global vairable data and delete white space