added separate required error