I don't see where $local gets set?