allocate memory for real