support library for smash