Trying to fix with extern