writing the code for vertex attributes