saving guardian logic