build the correct object