added field level validation