prime method