Prime factory ruby work