Implemented get specific template query