removing validators code