added lib calls to index