comments for memory allocation