added logix to reject less thn one imdbs