template option for top and buttom