vertex formatting functionality