Creating template
Added existing code from GitHub