ported the code to llfuse