Remove second loop