As far as I got with porting to the backend.