Working on implementing templates