added hogan and improved autocomplete