using Era constructor for erasArr
cleanup
remove default values
clean up