made remember optional, default to null. (let the api decide)