nested templates, better mobile support
cleaner sample