trying to refractor nova extension to fluen api