fix to use info flag instead of callback to simplify caller
shrink code/comments
version 0.0.1