Added validator component