restructure to avoid global