Creating resuable templates