writing quiver class