Alterando loop for