outlined steps for adding data to memory