added simple_spec for warnings