localizing imports and constants