part12.rs lines shortened