added library and updated query