always make sure to update legalcode branch