implemented ram printing
fix ram