huge bug fix, sapply is dangerous which guesses the output data stracture AVOID
bump up version number and new function name