move of phototemplate to public