Problem solving 101 (attempt number 2)