Removed debugg logging