removed ram init code