Format method name and fixed an issue with vertical vertices