template padrao, talvez mudar com threads