changed validation