Why you check here only for existence and not for target too?