works but takes too long