Removed print debug lines