version with exposed ram working