make expiration time optional