renamed verticles-> vertices