generate functions to instatiate entities' fields with default or nothing values