first endnotes implementation