checking double working