added ram stuff