more changes to get the api doing something to front end.