Added smartborders