also do name resolution all at once
order of file extenstions matters and typo
fuse names and declarations