rework add templetes