added store stack option
rename parameter
fun with defaults and r5