Rewrite Sonic Model For Better Performance