Explained wacky program