had to cheat but the concept was easy