failed attempt at vertex arrays