moved from geometry to digits+hits; added comment lines separating methods