chopping stuff for memory