Added func lib