added a really bad performing solution for 10