catches duplicate indetifier declaration