Fixed for loops for all handlers