added memory ability