made most fields nullable