It was a simple solution and I tried to make it more complicated