check linking