Implemented template for saving