memory implementation is done.