memory wastes and code cleaning PR comments