started to hook up the backend