Debugged the code a bit