works except for memory. fixed the sentence sorry thing