improve loops..