those if is not necessary here, what if not saved? you will do nothing?