Tried to debugged my code