This was a lot harder than I thought