trying to solve template hash