Fixed for loop C-style