Made loops a bit more convenient.