The California state Senate passed a bill on Wednesday that would extend access to financial support for pregnant teens in need.

According to the Associated Press, the Senate approved AB 1640 by a 24-12 vote, and it will move back to the Assembly for a final vote. If passed, the bill will significantly extend access to CalWORKs, a welfare program that gives cash aid and services to families in need.

Currently, pregnant teens are only eligible for CalWORKs assistance in the third trimester of pregnancy. They are also required to be eligible for Cal-Learn, a program that helps parenting teens graduate from high school.