allocate memory added