pass expire as a option, to provide automatic expiring