Add initial validator code