added tern + autocomplete