[challenge181] Simplified implementation