scope level increases when entering function declaration