add template codes to work on