update readme a bit
some template functions