Addded generic utility template