trying to get manual save working, not really working