creating a safe