localizing variables