added switchads, seperated ads template