ADDED: template for STP and STR