switched almost everything over to hatex. just need to write compile