instantiates without warnings