working second template