avoid using stdin inside function
bump to 0.7.1