abstracting library codes from smash-main