Template code is working