Added memory c