start to implement vertex attributes