working well; out_of_resource error when num_body changed??