re-orginize the codes
add template images