Remove true/false from method prime?