add old shark back
api minor changes
fixed NMI shark compatibility