With Japan opening up to diverse styles of working, freelancing is becoming a more common career path.

But such workers often face hurdles, such as being on an unequal footing with their client companies and being exploited for their services. Contracts are vague or not even issued, and payments may not be delivered on time.

The government is looking to change that, with Japan’s first-ever law designed to protect freelancers going into effect on Friday.