Saving work. Basic implementation

Basic implementation.