porting to new opencpu