moved library abd call