reduced memory consumption