template added
lca NOT TESTED
template fixed
FFT