Removed unnecessary code that was used in debugging