added ability to save with shortcut
add diff functions