template function backbone-basic