table replaced with spans