Re-implented exercise 1.12 to fix some issues