added logging
ref
added information about validation failure