realize prime generate