Section 23B. The department may, through its own resources or the resources of other appropriate agencies, provide services to mothers bearing children out of wedlock.