The Senate passed a bill Wednesday that would authorize $1.3 billion in aid for the homeless over a two-year period.

The measure reauthorizes programs for the homeless contained in the Stewart McKinney Homeless Assistance Act of 1987, including emergency food and shelter, housing assistance, health care, mental health care, job training and education.The bill will now go back to the House, because the Senate version differs from the measure the House passed Aug. 3.

The Senate version calls for bonuses to be paid to states that train and employ long-term welfare recipients and grants to provide housing and teach independent living skills to homeless youth between the ages of 16 and 21.