global -> local