fixed special character and added group functions template