Exercise. Do not include comments. Use mapMaybe