now saves history!