stack template method project