pretty template codes