(old) custom template not working