updating to use scala v11