Added my debug code at the bottom