making template pretty