add postpaid functions with templates