Modified rohanhub code