fixed templates but broke attend()