begin extracting lang into hashmaps -> serializing