There is a great potential to convert For Statement in a lambda function where has iteration or an If Statement inside for block