info: loop could be replaced with if statement.