Updated template
Updated template with algorithms