add leftside and rightside