add ;; to default case
return from penny if params missing
add wallet

some stuff is hardcoded to break out of output redirection