the save part doesn't function well now, need help
from liang