INTERMEDIATE TEMPLATE