Added comment.
Added mem_alloc.