Made For loop neater