removed stupid loop