add Prime library