added /end{document} because i'm a fucking idiot