Added prime method