needed to comment out tikz, also needed to add \end{document}