finishing the remain templates