make transient scope slice optional