improve the less solution