syntax update to rust v0.8