refactored a bit, started tex document some shit, yea