Template for slave