Implemented typeahead and groups