finally automate auto-insert by using yasnippets