Added some debug for more clarity