add scope and static