add library code in results view