initial measure memory backend code