modify lib to get information