#26 introduce scope table