Added memory input