scope inheritance