use prime class method