impliment RegisterContainer (not tested)