saving before checking