removed old code everything is in RAM now