removed def_val method