implement RAM4k