commenting the freeing part after creating a slice
 line to resolve a bug. CHANGES ARE TEMPORARY