added new smash.c