add scope function support