Got a working version with the backend