Added vao code.