add some syntactic sugar
now with better html templating
missing hook added