I think it's applaudable to figure things out by yourself, regardless of whether someone else has written something similar before. That's how we all learn. Kudos to Ethan!